package com.iring.vo.pay;

/**
 * 支付成功,websocket下发消息vo
 *
 * @author wanggan
 */
public class PaySuceessVO {

    private Integer code;

    private String msg;

    private String username;

    private Double restmoney;

    public PaySuceessVO() {
    }

    public PaySuceessVO(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public PaySuceessVO(Integer code, String msg, String username, Double restmoney) {
        this.code = code;
        this.msg = msg;
        this.username = username;
        this.restmoney = restmoney;
    }

    @Override
    public String toString() {
        return "{code:" + code + ",msg:" + msg + ",username:" + username + ",restmoney:" + restmoney
                + "}";
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Double getRestmoney() {
        return restmoney;
    }

    public void setRestmoney(Double restmoney) {
        this.restmoney = restmoney;
    }
}
